﻿using EcoSystem.Enums;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace EcoSystem
{
    /// <summary>
    /// key 配置批量定义
    /// </summary>
    public class MultiConfigDefineDto
    {
        /// <summary>
        /// 分类
        /// </summary>
        [Required(ErrorMessage = "分类不能为空")]
        public string Category { get; set; }

        /// <summary>
        /// key配置信息
        /// </summary>
        public List<KeyConfigDefineDto> KeyConfigs { get; set; }
    }
}
